import 'package:blind_traveler/modules/assistant/assistant_binding.dart';
import 'package:get/get.dart';

import '../modules/modules.dart';

part 'app_routes.dart';

class AppRoutes {
  static final List<GetPage> getPages = [
    GetPage(
        name: Routes.author,
        page: () => const AuthorPage(),
        binding: AuthorBinding(),
        children: [
          GetPage(
              name: Routes.gender,
              page: () => const GenderPage(),
              children: [
                GetPage(name: Routes.login, page: () => const LoginPage()),
                GetPage(name: Routes.register, page: () => const RegisterPage())
              ])
        ]),
    GetPage(
        name: Routes.home,
        page: () => const HomePage(),
        binding: HomeBinding()),
    GetPage(
        name: Routes.splash,
        page: () => const SplashPage(),
        binding: SplashBinding()),
    GetPage(name: Routes.edit, page: () => EditInformation()),
    GetPage(name: Routes.chat, page: () => const ChatPage(), binding: ChatBinding()),
    GetPage(
        name: Routes.setting,
        page: () => const SettingPage(),
        binding: SettingBinding()),
    GetPage(
        name: Routes.assistant,
        page: () => AssistantPage(),
        binding: AssistantBinding())
  ];
}
